package com.czhi.provider.service;

import com.czhi.common.api.DubboCloudApi;
import org.apache.dubbo.config.annotation.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Service(interfaceClass = DubboCloudApi.class)
public class DubboCloudService implements DubboCloudApi {
    private static Logger log = LoggerFactory.getLogger(DubboCloudService.class);


    @Override
    public String getMessage() {
        log.info("hello-dubbo-cloud");
        return "hello-dubbo-cloud";
    }
}
